package zhklappoint.entity.vo;

import java.util.ArrayList;
import java.util.List;


import org.springframework.util.ObjectUtils;

public class ActivityMidVo {
	
		
		private String id;// 中间表的ID
	    private Long createdate = System.currentTimeMillis();// 创建日期
	    private Long updatedate = System.currentTimeMillis();// 修改日期
    
		private String activityName;
		//背景图轮播
		private String imgUrl;
		//活动页面展示的背景图
		private String imgUrlback;
		//活动简介
		private String intrInfo;
		//活动介绍
		private String activityDetail;
		//活动口号
		private String title;
		//活动联系人电话
		private String phone;
		
		//当前活动状态0正常预约即可  1预约中有时间因素 
		private Integer status=0;
		//活动状态  0预约中  1预约失败  2预约成功  有些预约有最低预约人数 所以在没有到达这个数量的时候是会失败的
		private Integer activeStatus=0;
		//对应公司的id
		private String comId;
		//最低预约数量限制 如果非0 即表示预约最后成功有最低数量限制
		private Integer minNum=0;
		//最多预约数量限制  作为预约的最高预约数量 
		private Integer maxNum=0;
		//表示当前可预约的剩余量
		private Integer leftNum=0;
		//活动开始时间
		 private Long begTime;
		//活动结束时间 为0代表到长久
		 private Long endTime;
		//活动点击数量
		private Integer pvNum=0;
		
//		//当前活动是否需要付费状态0 不用付费 1需要付费
//		private Integer isPay;
//		//当需要付费的情况，会有下方设置
//		//付费预约保留到某个时间可退货，是指设置某个时间内可以退货 时间戳
//		private Long storeNum=0l;
//		//分账系数 百分比 平台默认分红5个点
//		private Integer platformRatio=5;
//		//介绍人分红点数 介绍人默认分红一个点  对应中间表UserActivityMid的userphone字段
//		private Integer userRatio=1;
//		//付费金额单位（元）
//		private Double price=0.00;
//		//商家对应的微信商户号
//		private String mchId;
		
		//@Transient
		private String uaId;
		private String activeId;
		private List<String> activeImgList=new ArrayList<String>();
		private List<String> activeTopickList=new ArrayList<String>();
		
		
		
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
		public Long getCreatedate() {
			return createdate;
		}
		public void setCreatedate(Long createdate) {
			this.createdate = createdate;
		}
		public Long getUpdatedate() {
			return updatedate;
		}
		public void setUpdatedate(Long updatedate) {
			this.updatedate = updatedate;
		}
		public String getUaId() {
			return uaId;
		}
		public void setUaId(String uaId) {
			this.uaId = uaId;
		}
		public String getImgUrlback() {
			return imgUrlback;
		}
		public void setImgUrlback(String imgUrlback) {
			this.imgUrlback = imgUrlback;
		}
		public List<String> getActiveImgList() {
			return activeImgList;
		}
		public void setActiveImgList(List<String> activeImgList) {
			this.activeImgList = activeImgList;
		}
		public List<String> getActiveTopickList() {
			return activeTopickList;
		}
		public void setActiveTopickList(List<String> activeTopickList) {
			this.activeTopickList = activeTopickList;
		}
		public String getComId() {
			return comId;
		}
		public void setComId(String comId) {
			this.comId = comId;
		}
		public String getActivityName() {
			return activityName;
		}
		public void setActivityName(String activityName) {
			this.activityName = activityName;
		}
		public String getImgUrl() {
			return imgUrl;
		}
		public void setImgUrl(String imgUrl) {
			this.imgUrl = imgUrl;
		}
		public String getIntrInfo() {
			return intrInfo;
		}
		public void setIntrInfo(String intrInfo) {
			this.intrInfo = intrInfo;
		}
		public String getActivityDetail() {
			return activityDetail;
		}
		public void setActivityDetail(String activityDetail) {
			this.activityDetail = activityDetail;
		}
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public Integer getStatus() {
			return status;
		}
		public void setStatus(Integer status) {
			this.status = status;
		}
		public Integer getActiveStatus() {
			return activeStatus;
		}
		public void setActiveStatus(Integer activeStatus) {
			this.activeStatus = activeStatus;
		}
		public Integer getMinNum() {
			return minNum;
		}
		public void setMinNum(Integer minNum) {
			this.minNum = minNum;
		}
		public Integer getMaxNum() {
			return maxNum;
		}
		public void setMaxNum(Integer maxNum) {
			this.maxNum = maxNum;
		}
		public Integer getLeftNum() {
			return leftNum;
		}
		public void setLeftNum(Integer leftNum) {
			this.leftNum = leftNum;
		}
		public Long getBegTime() {
			return begTime;
		}
		public void setBegTime(Long begTime) {
			this.begTime = begTime;
		}
		public Long getEndTime() {
			return endTime;
		}
		public void setEndTime(Long endTime) {
			this.endTime = endTime;
		}
		public Integer getPvNum() {
			return pvNum;
		}
		public void setPvNum(Integer pvNum) {
			this.pvNum = pvNum;
		}
		public String getPhone() {
			return phone;
		}
		public void setPhone(String phone) {
			this.phone = phone;
		}
		public String getActiveId() {
			return activeId;
		}
		public void setActiveId(String activeId) {
			this.activeId = activeId;
		}
		
//		public Long getStoreNum() {
//			return storeNum;
//		}
//		public void setStoreNum(Long storeNum) {
//			this.storeNum = storeNum;
//		}
//		public Integer getPlatformRatio() {
//			return platformRatio;
//		}
//		public void setPlatformRatio(Integer platformRatio) {
//			this.platformRatio = platformRatio;
//		}
//		public Integer getUserRatio() {
//			return userRatio;
//		}
//		public void setUserRatio(Integer userRatio) {
//			this.userRatio = userRatio;
//		}
//		public Double getPrice() {
//			return price;
//		}
//		public void setPrice(Double price) {
//			this.price = price;
//		}
//		public String getMchId() {
//			return mchId;
//		}
//		public void setMchId(String mchId) {
//			this.mchId = mchId;
//		}
//		public Integer getIsPay() {
//			return isPay;
//		}
//		public void setIsPay(Integer isPay) {
//			if(ObjectUtils.isEmpty(isPay)) {
//				this.isPay = 0;
//			}else {
//				this.isPay = isPay;
//			}
//		}
		
}
